home *** CD-ROM | disk | FTP | other *** search
/ EnigmA Amiga Run 1995 November / EnigmA AMIGA RUN 02 (1995)(G.R. Edizioni)(IT)[!][issue 1995-11][Skylink CD].iso / earcd / program / gcc / ixemul-4.lha / ixemul-41.4 / stdlib / Makefile.in < prev    next >
Makefile  |  1995-05-23  |  1KB  |  64 lines

  1. #### Start of system configuration section. ####
  2.  
  3. srcdir =    @srcdir@
  4. VPATH =        @srcdir@
  5.  
  6. # Common prefix for machine-independent installed files.
  7. prefix =    @prefix@
  8.  
  9. # Common prefix for machine-dependent installed files.
  10. exec_prefix =    @exec_prefix@
  11.  
  12. bindir =    $(exec_prefix)/bin
  13. libdir =    $(exec_prefix)/Sys/libs
  14.  
  15. INSTALL =    @INSTALL@
  16. INSTALL_DATA =    @INSTALL_DATA@
  17.  
  18. CC =        @CC@
  19.  
  20. CFLAGS =    @CFLAGS@
  21. LDFLAGS =    @LDFLAGS@
  22.  
  23. RANLIB =    @RANLIB@
  24. AR =        ar
  25.  
  26. #### End system configuration section ####
  27.  
  28. FLAVOR_CFLAGS =    -m$(CPU) -m$(FPU)
  29. OTHER_CFLAGS =    -fomit-frame-pointer
  30. ALL_CFLAGS =    $(CFLAGS) $(FLAVOR_CFLAGS) $(OTHER_CFLAGS) -ffixed-a4 $(INCS)
  31.  
  32. INCS =        -I$(srcdir) -I$(srcdir)/../library -I$(srcdir)/../include
  33. LIB =        libstdlib.a
  34.  
  35. .s.o:
  36.         cp $< x.c
  37.         $(CC) $(ALL_CFLAGS) -traditional -E x.c -o x.s
  38.         $(CC) $(ALL_CFLAGS) -c x.s -o $@
  39.         rm -f x.c x.s
  40.  
  41. .c.o:
  42.         $(CC) $(ALL_CFLAGS) -c $< -o $@
  43.  
  44. SRC =        abort.c abs.s atexit.c atof.c atoi.c atol.c bsearch.c \
  45.         calloc.c div.c exec.c execve.c getenv.c heapsort.c \
  46.         labs.c ldiv.c multibyte.c putenv.c qsort.c radixsort.c \
  47.         rand.c setenv.c ssystem.c strtol.c strtoul.c system.c
  48.  
  49. OBJ =        abort.o abs.o atexit.o atof.o atoi.o atol.o bsearch.o \
  50.         calloc.o div.o exec.o execve.o getenv.o heapsort.o \
  51.         labs.o ldiv.o multibyte.o putenv.o qsort.o radixsort.o \
  52.         rand.o setenv.o ssystem.o strtol.o strtoul.o system.o
  53.  
  54. $(LIB):        $(OBJ)
  55.         rm -f $@
  56.         $(AR) rv $@ $(OBJ)
  57.         $(RANLIB) $@
  58.  
  59. clean:
  60.         rm -f *!
  61.  
  62. clobber:    clean
  63.         rm -f $(OBJ) $(LIB)
  64.